
<style>
    .wordColor {color: red}
</style>
<!-- <div class="modal-header">
    <h4 class="modal-title">酒店信息</h4>
</div> -->
<div class="modal-body">
    <div class="container-fluid form-horizontal ">

    <div class="col-xs-12 " >
        <div class="panel panel-defalut">
		<div class="panel-body">
			<div class="container-fluid">
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label" style="font-size:20px">基本信息:</label>
            </div>        
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">*酒店产品名称:</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="text" class="form-control" placeholder="请输入名称" 
                    ng-model="hotelinfo.name"
                    >
                </div>
            </div>
    
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">*酒店拼音:</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="text" class="form-control" placeholder="" 
                    ng-model="hotelinfo.hotel_Pinyin"
                    >
                </div>
            </div>
    
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">酒店英文名</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="text" class="form-control"
                    ng-model="hotelinfo.hotel_en_name"
                    >
                </div>
            </div>
    
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">*地址中文:</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="text" class="form-control"
                    ng-model="hotelinfo.address"
                    >
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">经度:</label>
                <div class="col-sm-4 col-xs-12">
                    <input type="text" class="form-control"
                    ng-model="hotelinfo.longitude"
                    >
                </div>
                <label class="col-sm-1 col-xs-12 control-label">纬度:</label>
                <div class="col-sm-4 col-xs-12">
                    <input type="text" class="form-control"
                    ng-model="hotelinfo.latitude"
                    >
                </div>
            </div>
    
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">地址英文:</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control"
                        ng-model="hotelinfo.address_en_name"
                        >
                </div>
            </div>
    
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">房间数:</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="text" class="form-control"
                    ng-model="hotelinfo.room_num"
                    >
                </div>
            </div>
    
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">*电话:</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="text" class="form-control"
                    ng-model="hotelinfo.mobile"
                    >
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">传真:</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="text" class="form-control"
                    ng-model="hotelinfo.fax"
                    >
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">email:</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="text" class="form-control"
                    ng-model="hotelinfo.email"
                    >
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">开业时间:</label>
                <div class="col-sm-4 col-xs-12">
                    <div class="input-group" datetimepicker ng-model="vm.date" options="vm.options">
                        <input class="form-control"/>
                        <span class="input-group-addon">
                            <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                    </div>
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">最近装修:</label>
                <div class="col-sm-4 col-xs-12">
                    <div class="input-group" datetimepicker ng-model="vm1.date" options="vm1.options">
                        <input class="form-control"/>
                        <span class="input-group-addon">
                            <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                    </div>
                </div>
            </div>
    
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">*星级标准:</label>
                <div class="col-sm-9 col-xs-12">
                    <select class="form-control" ng-model="hotelinfo.star" >
                        <option value="1">1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4</option>
                        <option value="5">5</option>
                    </select>
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">排序:</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="text" class="form-control"
                    ng-model="hotelinfo.asort"
                    >
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">地点:</label>
                <div class="col-sm-9  col-xs-12">
                    <div class="fl">
                        <ui-select ng-model="hotelinfo.province" theme="bootstrap" style="width: 150px; margin-right: 5px;" ng-change="changeprovince(hotelinfo.province)">
                            <ui-select-match placeholder="省">{{$select.selected.name}}</ui-select-match>
                            <ui-select-choices repeat="item.code as item in page.provincelist | filter: $select.search">
                                <span ng-bind-html="item.name | highlight: $select.search"></span>
                            </ui-select-choices>
                        </ui-select>
                    </div>
                    <div class="fl">
                        <ui-select ng-model="hotelinfo.city" theme="bootstrap" style="width: 150px; margin-right: 5px;" ng-change="changecity(hotelinfo.city)">
                            <ui-select-match placeholder="市">{{$select.selected.name}}</ui-select-match>
                            <ui-select-choices repeat="item.code as item in page.citylist | filter: $select.search">
                                <span ng-bind-html="item.name | highlight: $select.search"></span>
                            </ui-select-choices>
                        </ui-select>
                    </div>
                    <div class="fl">
                        <ui-select ng-model="hotelinfo.area" theme="bootstrap" style="width: 150px; margin-right: 5px;" ng-change="changedistrict(hotelinfo.area)">
                            <ui-select-match placeholder="区">{{$select.selected.name}}</ui-select-match>
                            <ui-select-choices repeat="item.code as item in page.districtlist | filter: $select.search">
                                <span ng-bind-html="item.name | highlight: $select.search"></span>
                            </ui-select-choices>
                        </ui-select>
                    </div>
                    <div class="fl">
                        <ui-select ng-model="hotelinfo.business_district" theme="bootstrap" style="width: 150px;">
                            <ui-select-match placeholder="商圈">{{$select.selected.name}}</ui-select-match>
                            <ui-select-choices repeat="item.code as item in page.business_districtlist | filter: $select.search">
                                <span ng-bind-html="item.name | highlight: $select.search"></span>
                            </ui-select-choices>
                        </ui-select>
                    </div>
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">*酒店简介:</label>
                <div class="col-sm-9 col-xs-12">
                    <div class="ueditor" ng-model="hotelinfo.content"></div>
                </div>
            </div>
            
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">早餐类型:</label>
                <div class="col-sm-9 col-xs-12 mt5">
                    <div class="row col-sm-3" ng-repeat="breakfirst in breakfirsttype">
                        <label class="i-checks">
                            <input type="checkbox" name="rebate_type1" ng-model="breakfirst.value" value="{{breakfirst.value}}">
                            <i></i>
                            {{breakfirst.label}}
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">外宾接待:</label>
                <div class="col-sm-9 col-xs-12">
                    <label class="radio-inline ">
                        <input type="radio" name="inlineRadioOptions1" id="inlineRadio1" value="1" ng-model="hotelinfo.foreign_guests">是
                    </label>
                    <label class="radio-inline ">
                        <input type="radio" name="inlineRadioOptions2" id="inlineRadio2" value="0" ng-model="hotelinfo.foreign_guests">否
                    </label>
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">宠物携带:</label>
                <div class="col-sm-9 col-xs-12">
                    <label class="radio-inline ">
                        <input type="radio" name="inlineRadioOptions3" id="inlineRadio3" value="1" ng-model="hotelinfo.pet">是
                    </label>
                    <label class="radio-inline ">
                        <input type="radio" name="inlineRadioOptions4" id="inlineRadio4" value="0" ng-model="hotelinfo.pet">否
                    </label>
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">*酒店支持的信用卡:</label>
                <div class="col-sm-9 col-xs-12">
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label wordColor">不支持刷卡</label>
                <div class="col-sm-9 col-xs-12 mt5">
                    <label class="i-checks">
                        <input type="checkbox" name="cardtype" ng-model="supportCard.cardtype" value="0" ng-click="change(supportCard.cardtype)">
                        <i></i>
                    </label>
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label wordColor">国内银联卡</label>
                <div class="col-sm-9 col-xs-12 mt5" >
                    <div class="row col-sm-3" ng-repeat="cardlist in cardtype">
                            <label class="i-checks" ng-disabled="hotelinfo.pay_by_card == true">
                                <input type="checkbox" name="rebate_type2" ng-model="cardlist.value" value="{{cardlist.value}}" ng-disabled="supportCard.cardtype == true">
                                <i></i>
                                {{cardlist.label}}
                            </label>
                    </div>
                </div>
            </div>
           
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label wordColor">国外信用卡明细</label>
                <div class="col-sm-9 col-xs-12 mt5">
                    <div class="row col-sm-3" ng-repeat="creditcard in creditcardtype">
                            <label class="i-checks">
                                <input type="checkbox" name="rebate_type3" ng-model="creditcard.value" value="{{creditcard.value}}" ng-disabled="supportCard.cardtype == true">
                                <i></i>
                                {{creditcard.label}}
                            </label>
                    </div>
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">*特色信息:</label>
                <div class="col-sm-9 col-xs-12">
                    <div class="ueditor" ng-model="hotelinfo.characteristic_info"></div>
                </div>
            </div>
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">最早到店时间:</label>
                <div class="col-md-4">
                    <input type='text' class="form-control" ng-model="hotelinfo.earliest_arrival_time" >
                </div>
            </div>
            <div class='col-md-offset-3' name="startTime" timepicker class="form-control" ng-model="model.startTime" ng-click="changestart(model.startTime)"/>
            </div>

            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label">最晚离店时间:</label>
                <div class="col-md-4">
                    <input type='text' class="form-control" ng-model="hotelinfo.latest_departure_time" >
                </div>
            </div>
            <div class='col-md-offset-3' name="endTime" timepicker class="form-control" ng-model="model.endTime" ng-click="changeend(model.endTime)"/>
            </div>

            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label" style="font-size:20px">设施信息:</label>
            </div>      
            <div class="form-group" >
                <label class="col-sm-2 col-xs-12 control-label wordColor">*设施列表</label>
                <div class="col-sm-9 col-xs-12 mt5">
                    <div class="row col-sm-3" ng-repeat="facilities in facilitiesarr">
                            <label class="i-checks">
                                <input type="checkbox" name="rebate_type4" ng-model="facilities.value" value="{{facilities.value}}">
                                <i></i>
                                {{facilities.label}}
                            </label>
                    </div>
                </div>
            </div>
            <div class="col-sm-2 col-sm-offset-5" >
                <button class="btn btn-primary" type="button" ng-click="save()">保存</button>
            </div>
    
        </div>
        </div>
    </div>
    </div>
    </div>
    </div>
</div>